Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if command is 'oas' before throwing error #62

Merged
merged 5 commits into from
Aug 27, 2019
Merged

Check if command is 'oas' before throwing error #62

merged 5 commits into from
Aug 27, 2019

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Aug 23, 2019

All rdme oas <something> commands are broken so this fixes that.

domharrington and others added 2 commits August 26, 2019 15:06
According to this: https://stackoverflow.com/a/46321385 `cp.spawn` isn't really
suitable for promisifying due to it being an event listener. This causes
the promise to never resolve, which is what causes the test to timeout.

Refactored to use new Promise() and listen for the `close` event
@kanadgupta kanadgupta marked this pull request as ready for review August 27, 2019 16:47
@kanadgupta kanadgupta requested a review from erunion August 27, 2019 16:47
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes, I thought I had tested this when I did the rewrite last month!

@erunion erunion merged commit 78f346b into master Aug 27, 2019
@erunion erunion deleted the fix/oas branch August 27, 2019 16:55
@erunion
Copy link
Member

erunion commented Aug 27, 2019

Tagged to 3.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants